package com.qiaofang.applet.service.property.service.mapstruct;

import com.qiaofang.applet.service.property.domain.EstateAlbumPhoto;
import com.qiaofang.applet.service.property.domain.EstatePhoto;
import com.qiaofang.applet.service.property.service.dto.EstateAlbumPhotoDto;
import com.qiaofang.applet.service.property.service.dto.EstatePhotoDto;

import org.mapstruct.Mapper;
import org.mapstruct.ReportingPolicy;

import java.util.List;

/**
 * @Author: youqing.yang
 * @Create: 2020/10/15 16:10
 * @Description:
 **/
@Mapper(componentModel = "spring",unmappedTargetPolicy = ReportingPolicy.IGNORE)
public interface EstateAlbumPhotoMapper {

    List<EstateAlbumPhotoDto> domainToListDto(List<EstateAlbumPhoto> estateAlbumPhotos);


    List<EstatePhotoDto> domainListToListDto(List<EstatePhoto> estatePhotos);

}
